<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_date_scale_draw.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__date__scale__draw_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_date_scale_draw.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_date_scale_draw.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_text.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">class </span>QwtDateScaleDraw::PrivateData</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <span class="keyword">explicit</span> PrivateData( Qt::TimeSpec spec )</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;        : <a class="code" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">timeSpec</a>( spec )</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;        , <a class="code" href="class_qwt_date_scale_draw.html#a33d3fabed24c377852c5fec278018236">utcOffset</a>( 0 )</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        , <a class="code" href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">week0Type</a>( <a class="code" href="class_qwt_date.html">QwtDate</a>::FirstThursday )</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    {</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a> ] = <span class="stringliteral">&quot;hh:mm:ss:zzz\nddd dd MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587aabaf7a7d45288a33590f61fe075b3590">QwtDate::Second</a> ] = <span class="stringliteral">&quot;hh:mm:ss\nddd dd MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a7c9073c66b2628adbe772ac4c1a678ef">QwtDate::Minute</a> ] = <span class="stringliteral">&quot;hh:mm\nddd dd MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a8e7a2f91f89423e446bfdaa1e01ebd2f">QwtDate::Hour</a> ] = <span class="stringliteral">&quot;hh:mm\nddd dd MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a1d503616cab082a9c741be881cc0a813">QwtDate::Day</a> ] = <span class="stringliteral">&quot;ddd dd MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae204b4e8ce8679ba9ac378e41bd77b2b">QwtDate::Week</a> ] = <span class="stringliteral">&quot;Www yyyy&quot;</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a0ab43f35f1bdbae7536be2be0455700a">QwtDate::Month</a> ] = <span class="stringliteral">&quot;MMM yyyy&quot;</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a> ] = <span class="stringliteral">&quot;yyyy&quot;</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    }</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    Qt::TimeSpec <a class="code" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">timeSpec</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_qwt_date_scale_draw.html#a33d3fabed24c377852c5fec278018236">utcOffset</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="class_qwt_date.html#ab915db512c556a4666ada4fbfccfce1e">QwtDate::Week0Type</a> <a class="code" href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">week0Type</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    QString dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a> + 1 ];</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;};</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#adbee23e84bc296b09f5a6d54252b75ba">   48</a></span>&#160;<a class="code" href="class_qwt_date_scale_draw.html#adbee23e84bc296b09f5a6d54252b75ba">QwtDateScaleDraw::QwtDateScaleDraw</a>( Qt::TimeSpec timeSpec )</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    m_data = <span class="keyword">new</span> PrivateData( <a class="code" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">timeSpec</a> );</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;}</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#af32e43b35fbc805400f907a5e1466b83">   54</a></span>&#160;<a class="code" href="class_qwt_date_scale_draw.html#af32e43b35fbc805400f907a5e1466b83">QwtDateScaleDraw::~QwtDateScaleDraw</a>()</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#a278fdb655a98dda440ce5c0f8fc82c4e">   65</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_date_scale_draw.html#a278fdb655a98dda440ce5c0f8fc82c4e">QwtDateScaleDraw::setTimeSpec</a>( Qt::TimeSpec timeSpec )</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;{</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    m_data-&gt;timeSpec = <a class="code" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">timeSpec</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;}</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">   74</a></span>&#160;Qt::TimeSpec <a class="code" href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">QwtDateScaleDraw::timeSpec</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;timeSpec;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;}</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#ab97b5fc37dc46dcf635a56e13d7b93a3">   89</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_date_scale_draw.html#ab97b5fc37dc46dcf635a56e13d7b93a3">QwtDateScaleDraw::setUtcOffset</a>( <span class="keywordtype">int</span> seconds )</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;{</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    m_data-&gt;utcOffset = seconds;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;}</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#a33d3fabed24c377852c5fec278018236">  101</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_date_scale_draw.html#a33d3fabed24c377852c5fec278018236">QwtDateScaleDraw::utcOffset</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;utcOffset;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#acd5e9ce4e1e98e849d6002d22b2f7198">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_date_scale_draw.html#acd5e9ce4e1e98e849d6002d22b2f7198">QwtDateScaleDraw::setWeek0Type</a>( <a class="code" href="class_qwt_date.html#ab915db512c556a4666ada4fbfccfce1e">QwtDate::Week0Type</a> week0Type )</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    m_data-&gt;week0Type = <a class="code" href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">week0Type</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">  124</a></span>&#160;<a class="code" href="class_qwt_date.html#ab915db512c556a4666ada4fbfccfce1e">QwtDate::Week0Type</a> <a class="code" href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">QwtDateScaleDraw::week0Type</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;week0Type;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#ae8eb41024970bec16987d0c736ae890e">  137</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_date_scale_draw.html#ae8eb41024970bec16987d0c736ae890e">QwtDateScaleDraw::setDateFormat</a>(</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> intervalType, <span class="keyword">const</span> QString&amp; format )</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;{</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &gt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a> &amp;&amp;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &lt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a> )</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    {</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        m_data-&gt;dateFormats[ <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> ] = format;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    }</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;}</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#a6ed36308c2d52aad421e85cb7ede1907">  152</a></span>&#160;QString <a class="code" href="class_qwt_date_scale_draw.html#a6ed36308c2d52aad421e85cb7ede1907">QwtDateScaleDraw::dateFormat</a>(</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> intervalType )<span class="keyword"> const</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &gt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a> &amp;&amp;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &lt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a> )</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keywordflow">return</span> m_data-&gt;dateFormats[ <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> ];</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    }</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordflow">return</span> QString();</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;}</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#ac713d7c711d5e98b9d0fe62b70c97b59">  180</a></span>&#160;QString <a class="code" href="class_qwt_date_scale_draw.html#ac713d7c711d5e98b9d0fe62b70c97b59">QwtDateScaleDraw::dateFormatOfDate</a>( <span class="keyword">const</span> QDateTime&amp; dateTime,</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> intervalType )<span class="keyword"> const</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    Q_UNUSED( dateTime )</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &gt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a> &amp;&amp;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> &lt;= <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a> )</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    {</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        <span class="keywordflow">return</span> m_data-&gt;dateFormats[ <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a> ];</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    }</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;dateFormats[ <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587aabaf7a7d45288a33590f61fe075b3590">QwtDate::Second</a> ];</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;}</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#ad8d7deafeb00ee3e316ac1e6bfe1db1b">  205</a></span>&#160;<a class="code" href="class_qwt_text.html">QwtText</a> <a class="code" href="class_qwt_date_scale_draw.html#ad8d7deafeb00ee3e316ac1e6bfe1db1b">QwtDateScaleDraw::label</a>( <span class="keywordtype">double</span> value )<span class="keyword"> const</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keyword">const</span> QDateTime dt = <a class="code" href="class_qwt_date_scale_draw.html#a0f32d48ee708e6076af31be7fa2f7fee">toDateTime</a>( value );</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keyword">const</span> QString fmt = <a class="code" href="class_qwt_date_scale_draw.html#ac713d7c711d5e98b9d0fe62b70c97b59">dateFormatOfDate</a>(</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        dt, <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">intervalType</a>( <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>() ) );</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_date.html#a2c19998281321ba078d717f7f9ec6855">QwtDate::toString</a>( dt, fmt, m_data-&gt;week0Type );</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;}</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">  223</a></span>&#160;<a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> <a class="code" href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">QwtDateScaleDraw::intervalType</a>(</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a>&amp; scaleDiv )<span class="keyword"> const</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    <span class="keywordtype">int</span> intvType = <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="keywordtype">bool</span> alignedToWeeks = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_q_list.html">QList&lt; double &gt;</a> ticks = <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>.<a class="code" href="class_qwt_scale_div.html#a838db100c7f0f8454bf8559e89cb4d41">ticks</a>( <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a> );</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; ticks.size(); i++ )</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    {</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <span class="keyword">const</span> QDateTime dt = <a class="code" href="class_qwt_date_scale_draw.html#a0f32d48ee708e6076af31be7fa2f7fee">toDateTime</a>( ticks[i] );</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> j = <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587aabaf7a7d45288a33590f61fe075b3590">QwtDate::Second</a>; j &lt;= intvType; j++ )</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        {</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            <span class="keyword">const</span> QDateTime dt0 = <a class="code" href="class_qwt_date.html#a1b350f22a57b44b529bc4de740dbe213">QwtDate::floor</a>( dt,</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                <span class="keyword">static_cast&lt;</span> <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> <span class="keyword">&gt;</span>( j ) );</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            <span class="keywordflow">if</span> ( dt0 != dt )</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            {</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                <span class="keywordflow">if</span> ( j == <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae204b4e8ce8679ba9ac378e41bd77b2b">QwtDate::Week</a> )</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;                {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                    alignedToWeeks = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                {</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                    intvType = j - 1;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;                }</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            }</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        }</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <span class="keywordflow">if</span> ( intvType == <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a> )</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    }</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keywordflow">if</span> ( intvType == <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae204b4e8ce8679ba9ac378e41bd77b2b">QwtDate::Week</a> &amp;&amp; !alignedToWeeks )</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        intvType = <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a1d503616cab082a9c741be881cc0a813">QwtDate::Day</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span> <a class="code" href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a> <span class="keyword">&gt;</span>( intvType );</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;}</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="class_qwt_date_scale_draw.html#a0f32d48ee708e6076af31be7fa2f7fee">  269</a></span>&#160;QDateTime <a class="code" href="class_qwt_date_scale_draw.html#a0f32d48ee708e6076af31be7fa2f7fee">QwtDateScaleDraw::toDateTime</a>( <span class="keywordtype">double</span> value )<span class="keyword"> const</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    QDateTime dt = <a class="code" href="class_qwt_date.html#a8039dc115458981fc1c7fc2c0aa8d053">QwtDate::toDateTime</a>( value, m_data-&gt;timeSpec );</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;timeSpec == Qt::OffsetFromUTC )</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    {</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        dt = dt.addSecs( m_data-&gt;utcOffset );</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#if QT_VERSION &gt;= 0x050200</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        dt.setOffsetFromUtc( m_data-&gt;utcOffset );</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        dt.setUtcOffset( m_data-&gt;utcOffset );</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    }</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    <span class="keywordflow">return</span> dt;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;}</div>
<div class="ttc" id="aclass_q_list_html"><div class="ttname"><a href="class_q_list.html">QList&lt; double &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ad15e796d2fd8bd1e2cfa66715bf58e2e"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">QwtAbstractScaleDraw::scaleDiv</a></div><div class="ttdeci">const QwtScaleDiv &amp; scaleDiv() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00133">qwt_abstract_scale_draw.cpp:133</a></div></div>
<div class="ttc" id="aclass_qwt_date_html"><div class="ttname"><a href="class_qwt_date.html">QwtDate</a></div><div class="ttdoc">A collection of methods around date/time values.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00042">qwt_date.h:43</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_a1b350f22a57b44b529bc4de740dbe213"><div class="ttname"><a href="class_qwt_date.html#a1b350f22a57b44b529bc4de740dbe213">QwtDate::floor</a></div><div class="ttdeci">static QDateTime floor(const QDateTime &amp;, IntervalType)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8cpp_source.html#l00425">qwt_date.cpp:425</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_a2c19998281321ba078d717f7f9ec6855"><div class="ttname"><a href="class_qwt_date.html#a2c19998281321ba078d717f7f9ec6855">QwtDate::toString</a></div><div class="ttdeci">static QString toString(const QDateTime &amp;, const QString &amp;format, Week0Type)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8cpp_source.html#l00686">qwt_date.cpp:686</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_a8039dc115458981fc1c7fc2c0aa8d053"><div class="ttname"><a href="class_qwt_date.html#a8039dc115458981fc1c7fc2c0aa8d053">QwtDate::toDateTime</a></div><div class="ttdeci">static QDateTime toDateTime(double value, Qt::TimeSpec=Qt::UTC)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8cpp_source.html#l00261">qwt_date.cpp:261</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ab915db512c556a4666ada4fbfccfce1e"><div class="ttname"><a href="class_qwt_date.html#ab915db512c556a4666ada4fbfccfce1e">QwtDate::Week0Type</a></div><div class="ttdeci">Week0Type</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00049">qwt_date.h:50</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587">QwtDate::IntervalType</a></div><div class="ttdeci">IntervalType</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00075">qwt_date.h:76</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587a0ab43f35f1bdbae7536be2be0455700a"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a0ab43f35f1bdbae7536be2be0455700a">QwtDate::Month</a></div><div class="ttdeci">@ Month</div><div class="ttdoc">The interval is related to months.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00096">qwt_date.h:96</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587a1d503616cab082a9c741be881cc0a813"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a1d503616cab082a9c741be881cc0a813">QwtDate::Day</a></div><div class="ttdeci">@ Day</div><div class="ttdoc">The interval is related to days.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00090">qwt_date.h:90</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a4e1d45d6382c27689a30adc11186d4f1">QwtDate::Millisecond</a></div><div class="ttdeci">@ Millisecond</div><div class="ttdoc">The interval is related to milliseconds.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00078">qwt_date.h:78</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587a7c9073c66b2628adbe772ac4c1a678ef"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a7c9073c66b2628adbe772ac4c1a678ef">QwtDate::Minute</a></div><div class="ttdeci">@ Minute</div><div class="ttdoc">The interval is related to minutes.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00084">qwt_date.h:84</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587a8e7a2f91f89423e446bfdaa1e01ebd2f"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587a8e7a2f91f89423e446bfdaa1e01ebd2f">QwtDate::Hour</a></div><div class="ttdeci">@ Hour</div><div class="ttdoc">The interval is related to hours.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00087">qwt_date.h:87</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587aabaf7a7d45288a33590f61fe075b3590"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587aabaf7a7d45288a33590f61fe075b3590">QwtDate::Second</a></div><div class="ttdeci">@ Second</div><div class="ttdoc">The interval is related to seconds.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00081">qwt_date.h:81</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587ae204b4e8ce8679ba9ac378e41bd77b2b"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae204b4e8ce8679ba9ac378e41bd77b2b">QwtDate::Week</a></div><div class="ttdeci">@ Week</div><div class="ttdoc">The interval is related to weeks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00093">qwt_date.h:93</a></div></div>
<div class="ttc" id="aclass_qwt_date_html_ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab"><div class="ttname"><a href="class_qwt_date.html#ad037b999a51cae4d9ab36bf8e7859587ae306523ed94ccf930afb811ff7a735ab">QwtDate::Year</a></div><div class="ttdeci">@ Year</div><div class="ttdoc">The interval is related to years.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date_8h_source.html#l00100">qwt_date.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_a0f32d48ee708e6076af31be7fa2f7fee"><div class="ttname"><a href="class_qwt_date_scale_draw.html#a0f32d48ee708e6076af31be7fa2f7fee">QwtDateScaleDraw::toDateTime</a></div><div class="ttdeci">QDateTime toDateTime(double) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00269">qwt_date_scale_draw.cpp:269</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_a254741840cb7c96e42f2a8263f78506b"><div class="ttname"><a href="class_qwt_date_scale_draw.html#a254741840cb7c96e42f2a8263f78506b">QwtDateScaleDraw::intervalType</a></div><div class="ttdeci">virtual QwtDate::IntervalType intervalType(const QwtScaleDiv &amp;) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00223">qwt_date_scale_draw.cpp:223</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_a278fdb655a98dda440ce5c0f8fc82c4e"><div class="ttname"><a href="class_qwt_date_scale_draw.html#a278fdb655a98dda440ce5c0f8fc82c4e">QwtDateScaleDraw::setTimeSpec</a></div><div class="ttdeci">void setTimeSpec(Qt::TimeSpec)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00065">qwt_date_scale_draw.cpp:65</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_a33d3fabed24c377852c5fec278018236"><div class="ttname"><a href="class_qwt_date_scale_draw.html#a33d3fabed24c377852c5fec278018236">QwtDateScaleDraw::utcOffset</a></div><div class="ttdeci">int utcOffset() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00101">qwt_date_scale_draw.cpp:101</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_a6ed36308c2d52aad421e85cb7ede1907"><div class="ttname"><a href="class_qwt_date_scale_draw.html#a6ed36308c2d52aad421e85cb7ede1907">QwtDateScaleDraw::dateFormat</a></div><div class="ttdeci">QString dateFormat(QwtDate::IntervalType) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00152">qwt_date_scale_draw.cpp:152</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_ab97b5fc37dc46dcf635a56e13d7b93a3"><div class="ttname"><a href="class_qwt_date_scale_draw.html#ab97b5fc37dc46dcf635a56e13d7b93a3">QwtDateScaleDraw::setUtcOffset</a></div><div class="ttdeci">void setUtcOffset(int seconds)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00089">qwt_date_scale_draw.cpp:89</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_ac713d7c711d5e98b9d0fe62b70c97b59"><div class="ttname"><a href="class_qwt_date_scale_draw.html#ac713d7c711d5e98b9d0fe62b70c97b59">QwtDateScaleDraw::dateFormatOfDate</a></div><div class="ttdeci">virtual QString dateFormatOfDate(const QDateTime &amp;, QwtDate::IntervalType) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00180">qwt_date_scale_draw.cpp:180</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_acd5e9ce4e1e98e849d6002d22b2f7198"><div class="ttname"><a href="class_qwt_date_scale_draw.html#acd5e9ce4e1e98e849d6002d22b2f7198">QwtDateScaleDraw::setWeek0Type</a></div><div class="ttdeci">void setWeek0Type(QwtDate::Week0Type)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00115">qwt_date_scale_draw.cpp:115</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_ad8d7deafeb00ee3e316ac1e6bfe1db1b"><div class="ttname"><a href="class_qwt_date_scale_draw.html#ad8d7deafeb00ee3e316ac1e6bfe1db1b">QwtDateScaleDraw::label</a></div><div class="ttdeci">virtual QwtText label(double) const override</div><div class="ttdoc">Convert a value into its representing label.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00205">qwt_date_scale_draw.cpp:205</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_adbee23e84bc296b09f5a6d54252b75ba"><div class="ttname"><a href="class_qwt_date_scale_draw.html#adbee23e84bc296b09f5a6d54252b75ba">QwtDateScaleDraw::QwtDateScaleDraw</a></div><div class="ttdeci">QwtDateScaleDraw(Qt::TimeSpec=Qt::LocalTime)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00048">qwt_date_scale_draw.cpp:48</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_ae8eb41024970bec16987d0c736ae890e"><div class="ttname"><a href="class_qwt_date_scale_draw.html#ae8eb41024970bec16987d0c736ae890e">QwtDateScaleDraw::setDateFormat</a></div><div class="ttdeci">void setDateFormat(QwtDate::IntervalType, const QString &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00137">qwt_date_scale_draw.cpp:137</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_af32e43b35fbc805400f907a5e1466b83"><div class="ttname"><a href="class_qwt_date_scale_draw.html#af32e43b35fbc805400f907a5e1466b83">QwtDateScaleDraw::~QwtDateScaleDraw</a></div><div class="ttdeci">virtual ~QwtDateScaleDraw()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00054">qwt_date_scale_draw.cpp:54</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_af42f1a35ab25289b9d20100e89aa8c19"><div class="ttname"><a href="class_qwt_date_scale_draw.html#af42f1a35ab25289b9d20100e89aa8c19">QwtDateScaleDraw::week0Type</a></div><div class="ttdeci">QwtDate::Week0Type week0Type() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00124">qwt_date_scale_draw.cpp:124</a></div></div>
<div class="ttc" id="aclass_qwt_date_scale_draw_html_afba803a9479ddc1e3470ac3c9e36ef01"><div class="ttname"><a href="class_qwt_date_scale_draw.html#afba803a9479ddc1e3470ac3c9e36ef01">QwtDateScaleDraw::timeSpec</a></div><div class="ttdeci">Qt::TimeSpec timeSpec() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__date__scale__draw_8cpp_source.html#l00074">qwt_date_scale_draw.cpp:74</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html"><div class="ttname"><a href="class_qwt_scale_div.html">QwtScaleDiv</a></div><div class="ttdoc">A class representing a scale division.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00033">qwt_scale_div.h:34</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_a838db100c7f0f8454bf8559e89cb4d41"><div class="ttname"><a href="class_qwt_scale_div.html#a838db100c7f0f8454bf8559e89cb4d41">QwtScaleDiv::ticks</a></div><div class="ttdeci">QList&lt; double &gt; ticks(int tickType) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8cpp_source.html#l00309">qwt_scale_div.cpp:309</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a></div><div class="ttdeci">@ MajorTick</div><div class="ttdoc">Major ticks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00049">qwt_scale_div.h:49</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_date_scale_draw.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
